/**
 * @(#)InstanceOperateOpinion.java Sep 2, 2009
 *   
 * Copyright  (c) 2009-2010 Wilmar IT Service,  Inc.   
 * All  rights  reserved.   
 * TODO
 */

package com.wilmar.process.entity;

import java.io.Serializable;

import com.wilmar.process.enumerate.EnumProcessOperateOpinionType;

/**
 * @author MaKuBEX Email:makubexnet@gmail.com
 * @version 1.0.0
 */
public class InstanceOperateOpinion implements Serializable {

	/**
	 * @serialField
	 */
	private static final long serialVersionUID = -8302350127239176251L;

	private EnumProcessOperateOpinionType opinionType;
	private String opinionString;

	/**
	 * 构造一个只包含字符串处理意见对象
	 * 
	 * @param opinionString
	 *            处理意见
	 */
	public InstanceOperateOpinion(String opinionString) {
		super();
		this.opinionString = opinionString;
		this.opinionType = EnumProcessOperateOpinionType.MESSAGE;
	}

	/**
	 * 默认构造函数
	 */
	public InstanceOperateOpinion() {
		super();
	}

	/**
	 * @return the opinionString
	 */
	public String getOpinionString() {
		return opinionString;
	}

	/**
	 * @return the opinionType
	 */
	public EnumProcessOperateOpinionType getOpinionType() {
		return opinionType;
	}

	/**
	 * @param opinionString
	 *            the opinionString to set
	 */
	public void setOpinionString(String opinionString) {
		this.opinionString = opinionString;
	}

	/**
	 * @param opinionType
	 *            the opinionType to set
	 */
	public void setOpinionType(EnumProcessOperateOpinionType opinionType) {
		this.opinionType = opinionType;
	}

}
